package mwt.xml.waxdbforms.business.impl;

import mwt.xml.waxdbforms.business.DbmsService;
import mwt.xml.waxdbforms.business.SecurityService;
import mwt.xml.waxdbforms.business.WAXDBFormsServiceFactory;
import mwt.xml.xdbforms.dbms.XDBFManager;

public class WAXDBFormsServiceFactoryImpl extends WAXDBFormsServiceFactory {
    private XDBFManager xdbfm = null;

    public WAXDBFormsServiceFactoryImpl(XDBFManager xdbfm) {
        this.xdbfm = xdbfm;
    }

    @Override
    public SecurityService getSecurityService() {
        return new SecurityServiceImpl(xdbfm);
    }

    @Override
    public DbmsService getDbmsService() {
        return new DbmsServiceImpl(xdbfm);
    }
}
